<admintpl file="header"/>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:U('Admin/Resources/outside_index')}">外链列表</a></li>
        <li class="active"><a href="{:U('Admin/Resources/outsideAdd')}">添加{$Title}</a></li>
    </ul> 
    <form method="post" class="form-horizontal js-ajax-form" id="form.js-ajax-forms"
          action="{:U('Admin/Resources/outsideAddPost')}">
          
        <div class="control-group">
            <label class="span1 control-label" style="width: 90px;">*外链名称</label>
            <div class="span3" ><input type="text" style="width: 556px;" name="name"  value="{$resource_data['name']}"></div>
        </div>
        
        <div class="control-group">
            <label class="span1 control-label" style="width: 90px;">外链简介</label>
            <div class="span3" >
            <textarea style="width: 556px; height:200px;"  name="introduction">{$resource_data['introduction']}
            </textarea>
            </div>
        </div>
        
        <div class="control-group">
            <label class="span1 control-label" style="width: 90px;">*外链地址</label>
            <div class="span3" ><input type="text" style="width: 556px;" name="link_url"  value="{$resource_data['link_url']}"></div>
        </div>
        
        
        
        
		<input type="hidden" name="recource_id" id="area_hidden_ids" value="{$recource_data['recource_id']}">
        <div class="form-actions" style="padding-left:260px;">
            <button type="submit" class="btn btn-primary js-ajax-submit">保存</button>
            &nbsp;&nbsp;<a class="btn" href="{:U('Admin/Resources/outside_index')}">{:L('BACK')}</a>
        </div>
    </form>
</div>
<script src="__PUBLIC__/js/common.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/content_addtop.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/ueditor/ueditor.all.min.js"></script>
<script type="text/javascript"
        src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.10.0/jquery.validate.min.js"></script>
</body>
</html>